.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
}

.login-bg {
    flex: 1;
    background-image: url('./img/bg.jpg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}

.login-form-container {
    flex: 0 0 400px;
    /* background-color:rgba(3, 10, 24, 0.8); */
    background-color: rgb(129, 122, 122);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 0 20px;

}

.company-logo {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.logo-icon {
    width: 55px;
    height: 40px;
    background-color: white;
    border-radius: 8px;
    margin-right: 10px;
    background-image: url('./img/logo.png');
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
}

.login-form {
    width: 100%;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.login-input {
    height: 50px;
    padding-left: 50px;
    border-radius: 4px;
    border: 1px solid #ddd;
    width: 100%;
    font-size: 16px;

}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;

}

.remember-checkbox {
    color: white;
}

.forgot-password {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
}

.login-button {
    width: 100%;
    height: 50px;
    background-color: #0039cb;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.copyright-info {
    position: absolute;
    bottom: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    width: 360px;
}


.captcha-group {
    display: flex;
    gap: 10px;
}

.captcha-input {
    flex: 1;
}

.captcha-display {
    width: 120px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 18px;
    letter-spacing: 4px;
    cursor: pointer;
    user-select: none;
    color: #333;
    font-weight: bold;
}

/* QQ登录相关样式 */
.qq-login-section {
    margin-top: 20px;
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.divider span {
    background-color: rgb(129, 122, 122);
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.qq-login-button {
    width: 100%;
    height: 50px;
    background-color: #12B7F5;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.qq-login-button:hover {
    background-color: #0EA5E4;
}

.qq-icon {
    font-size: 18px;
}

/* QQ登录模态框样式 */
.qq-login-modal {
    padding: 20px;
    text-align: center;
}

.quick-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #12B7F5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.qr-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.qr-code {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}

.qr-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.success-icon {
    font-size: 48px;
    color: #52c41a;
    margin-bottom: 16px;
}

.qr-status {
    margin-top: 16px;
    text-align: center;
}

.countdown {
    color: #999;
    font-size: 14px;
    margin-top: 8px;
}

.expired-text {
    color: #ff4d4f;
    font-weight: bold;
}

.success-text {
    color: #52c41a;
    font-weight: bold;
}

.check-status-button {
    background-color: #12B7F5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.check-status-button:hover {
    background-color: #0EA5E4;
}

.check-status-button:disabled {
    background-color: #d9d9d9;
    cursor: not-allowed;
}

.expired-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: #f5f5f5;
    color: #999;
}

.refresh-qr-button {
    margin-top: 16px;
    width: 100%;
}